package com.yanqu.road.entity.activity.fivehero.cross;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class CrossFiveHeroPatrons {

    private int groupId;
    private int activityId;

    private int id;
    private long userId;
    private int skin;
    //是否拿着战令
    private int tokenId;
    private int tokenIntegral;
    private long ability;

    //技能加成了多少 专属技能
    private int addPer;

    //士兵投奔加的能力值 第几次，每次加多少
    private Map<Integer,Long> addAbilityMap = new ConcurrentHashMap<>();

    private Map<Integer,Long> addPercentageAbilityMap = new ConcurrentHashMap<>();

    //当前的门客血量
    private long nowBlood;
    //当前的门客血量 类型4的主城要用全新的一套门客，无法李姐
    private long type4nowBlood;
    //复活次数
    private int reviveTimes;
    //复活次数
    private int type4reviveTimes;
    //开始计算复活时间
    private long lastReviveTime;
    //开始计算复活时间
    private long type4lastReviveTime;

    //重置復活時間
    private long lastResetTime;

    private long tempBattleBlood;

    public CrossFiveHeroPatrons() {

    }

    public CrossFiveHeroPatrons(int groupId,int activityId,int id,long userId, int skin, long ability,int addPer) {
        this.groupId = groupId;
        this.activityId = activityId;
        this.id = id;
        this.userId = userId;
        this.skin = skin;
        this.ability = ability;
        this.addPer = addPer;
        setNowBlood(ability);
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getSkin() {
        return skin;
    }

    public void setSkin(int skin) {
        this.skin = skin;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getAbility() {
        return ability;
    }

    public void setAbility(long ability) {
        this.ability = ability;
    }

    public long getNowBlood() {
        return nowBlood;
    }

    public void setNowBlood(long nowBlood) {
        this.nowBlood = nowBlood;
    }


    public int getReviveTimes() {
        return reviveTimes;
    }

    public void setReviveTimes(int reviveTimes) {
        this.reviveTimes = reviveTimes;
    }

    public long getLastReviveTime() {
        return lastReviveTime;
    }

    public void setLastReviveTime(long lastReviveTime) {
        this.lastReviveTime = lastReviveTime;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }


    public int getType4reviveTimes() {
        return type4reviveTimes;
    }

    public void setType4reviveTimes(int type4reviveTimes) {
        this.type4reviveTimes = type4reviveTimes;
    }

    public long getType4lastReviveTime() {
        return type4lastReviveTime;
    }

    public void setType4lastReviveTime(long type4lastReviveTime) {
        this.type4lastReviveTime = type4lastReviveTime;
    }

    public long getType4nowBlood() {
        return type4nowBlood;
    }

    public void setType4nowBlood(long type4nowBlood) {
        this.type4nowBlood = type4nowBlood;
    }

    public Map<Integer, Long> getAddAbilityMap() {
        return addAbilityMap;
    }

    public void setAddAbilityMap(Map<Integer, Long> addAbilityMap) {
        this.addAbilityMap = addAbilityMap;
    }

    public int getTokenId() {
        return tokenId;
    }

    public void setTokenId(int tokenId) {
        this.tokenId = tokenId;
    }

    public int getTokenIntegral() {
        return tokenIntegral;
    }

    public void setTokenIntegral(int tokenIntegral) {
        this.tokenIntegral = tokenIntegral;
    }

    public Map<Integer, Long> getAddPercentageAbilityMap() {
        return addPercentageAbilityMap;
    }

    public void setAddPercentageAbilityMap(Map<Integer, Long> addPercentageAbilityMap) {
        this.addPercentageAbilityMap = addPercentageAbilityMap;
    }

    public long getLastResetTime() {
        return lastResetTime;
    }

    public void setLastResetTime(long lastResetTime) {
        this.lastResetTime = lastResetTime;
    }


    public long getTempBattleBlood() {
        return tempBattleBlood;
    }

    public void setTempBattleBlood(long tempBattleBlood) {
        this.tempBattleBlood = tempBattleBlood;
    }

    public int getAddPer() {
        return addPer;
    }

    public void setAddPer(int addPer) {
        this.addPer = addPer;
    }
}
